If not, we'll get ESPIPE when seeking on fd 0.
Closes: #260
Approved by: cgwalters
OPPROTO(bspatch)
#undef OPPROTO
+static void
+static_delta_execution_state_init (StaticDeltaExecutionState *state)
+{
+ state->read_source_fd = -1;
+}
+
static gboolean
read_varuint64 (StaticDeltaExecutionState *state,
guint64 *out_value,
StaticDeltaExecutionState *state = &statedata;
guint n_executed = 0;
+ static_delta_execution_state_init (&statedata);
+
state->repo = repo;
state->async_error = error;
state->trusted = trusted;